package org.study.springboot.learning.callback;
/**
 * <p>Title: 回调函数相关demo <p>
 * <p>Description: TestCall<p>
 *
 * @Author ZhangSY
 * @Date 2021/6/20 10:17
 * @Version v1.0
 **/
public class TestCall {
    public static void main(String[] args) {
        Jack jack = new Jack();
        Teacher teacher = new Teacher(jack);
        teacher.callStudent(teacher);
    }
}
